package com.dyz.wsw.admin.account.feign;

import com.dyz.wsw.common.web.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import reactor.core.publisher.Mono;

/**
 * @author dyz
 * @date 2025/2/15 20:17
 */
@FeignClient(value = "wsw-passport",url = "http://localhost:10001/key/pub")
public interface PassportFeignClient {

    @GetMapping("/key/pub")
    Mono<JsonResult> getPubKey();
}
